﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IM.Easy.GenServices.Dtos
{
    public class GenTableOptionDto
    {
        /// <summary>
        /// /
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid TableId { get; set; }


        /// <summary>
        /// 签名信息
        /// </summary>
        public string Signature { get; set; }

        /// <summary>
        /// 实体基类
        /// </summary>
        public string BaseClass { get; set; }

        /// <summary>
        /// 具体业务
        /// </summary>
        public string Business { get; set; }

        /// <summary>
        /// 所属模块
        /// </summary>
        public string Module { get; set; }

        /// <summary>
        /// 命名空间前缀
        /// </summary>
        public string Namespace { get; set; }

        /// <summary>
        /// 上级菜单ID
        /// </summary>
        public long ParentMenu { get; set; }

        /// <summary>
        /// 默认排序字段
        /// </summary>
        public string SortField { get; set; }

        /// <summary>
        /// 是否升序
        /// </summary>
        public bool Ascending { get; set; }

        /// <summary>
        /// 生成功能 add del update
        /// </summary>
        public string[] Func { get; set; } = [];
    }
}
